﻿#ifndef ILOGGER_H
#define ILOGGER_H

#include "commdef.h"

class LogMsg
{
public:
    LogMsg():szLog("") {}
    quint16 msgtype;
    QString szLog;
};

class IFramework;
class INetComm;
class IConfig;
class ICommon;
class ILogger : public QObject
{
public:
    ILogger() {}
    virtual ~ILogger() {}
    virtual int Init() = 0;
    virtual int UnInit() = 0;
    virtual int SetFramework(IFramework* pFrm) = 0;
    virtual void WriteLog(QString szLog) = 0;
};

#endif // ILOGGER_H
